package com.zhuxin.medical.model.po;

import com.dbHelper.annotation.Column;
import com.dbHelper.annotation.Table;

import java.util.Date;

@Table(name="commWxUser")
public class CommWxUser {
    @Column(name="openid",primary = true)
    private String openid;
    @Column(name="nickname")
    private String nickname;
    @Column(name="usercode")
    private String usercode;
    @Column(name="username")
    private String username;
    @Column(name="usertype")
    private Integer usertype;

    @Column(name="status")
    private Integer status=0;

    @Column(name="statustime")
    private Date statustime=new Date();

    @Column(name="param")
    private String param;

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public Date getStatustime() {
        return statustime;
    }

    public void setStatustime(Date statustime) {
        this.statustime = statustime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }



    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getUsertype() {
        return usertype;
    }

    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    @Override
    public String toString() {
        return "CommWxUser{" +
                "openid='" + openid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", username='" + username + '\'' +
                ", usertype=" + usertype +
                '}';
    }
}
